<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Deposit extends CI_Controller {
	public function __construct()
	{
		parent::__construct();
		
		switch ($this->router->method)
		{
			case 'index':
			case 'create':
				if ( ! $this->auth->is_logged_in())
				{
					redirect();
				}
			break;
		}
	}

	public function index()
	{
		$this->template->render();
	}
	
	public function create()
	{
		$this->load->helper('form');
		$this->template->render();
	}
}

/* End of file deposits.php */
/* Location: ./application/controllers/deposits.php */
